#ifndef BSP_ADC_H
#define BSP_ADC_H
#include "sym32l010_hal_sysctrl.h"
#include "sym32l010_hal_systick.h"
#include "sym32l010_hal_adc.h"
#include "bsp_gpio.h"

typedef struct 
{
    uint8_t CH_num;
    uint8_t Channel;
    uint8_t Sample_time;
}bsp_adc_channel_cfg_t;

typedef struct
{
    uint8_t clkSrc_div;
    uint8_t Mode;
    uint8_t channel_sel;
    uint8_t Channel_num;
    bsp_adc_channel_cfg_t *channel_cfg;
}bsp_adc_init_t;


void BSP_ADC_Init(bsp_adc_init_t *adc_cfg);
#endif /* BSP_ADC_H */

